package com.ruoyi.system.domain;

import lombok.Builder;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 审批模板对象 process_templates
 *
 * @author ruoyi
 * @date 2024-03-27
 */
public class ProcessTemplates extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 审批摸板ID */
    private String templateId;

    /** 摸板名称 */
    @Excel(name = "摸板名称")
    private String templateName;

    /** 基础设置 */
    @Excel(name = "基础设置")
    private String settings;

    /** 摸板表单 */
    @Excel(name = "摸板表单")
    private String formItems;

    /** process */
    @Excel(name = "process")
    private String process;

    /** 图标 */
    @Excel(name = "图标")
    private String icon;

    /** 图标背景色 */
    @Excel(name = "图标背景色")
    private String background;

    /** notify */
    @Excel(name = "notify")
    private String notify;

    /** 谁能提交 */
    @Excel(name = "谁能提交")
    private String whoCommit;

    /** 谁能编辑 */
    @Excel(name = "谁能编辑")
    private String whoEdit;

    /** 谁能导出数据 */
    @Excel(name = "谁能导出数据")
    private String whoExport;

    /** 冗余分组id */
    @Excel(name = "冗余分组id")
    private Long groupId;

    /** 是否已停用（0停用 1使用） */
    @Excel(name = "是否已停用", readConverterExp = "0=停用,1=使用")
    private String isStop;

    /** 删除标志（0删除 1存在） */
    private String delFlag;

    /** 超时时间（小时） */
    private String timeLimit;

    /** 超时消息模板 */
    private Long timeOutMsg;

    /** 驳回消息模板 */
    private Long refusalMsg;

    /** 撤销消息模板 */
    private Long repealMsg;

    /** 启动消息模板 */
    private Long startMsg;

    /** 审批通过消息模板 */
    private Long endMsg;

    /** 通过后撤销消息模板 */
    private Long passRepealMsg;

    /** 菜单id */
    private Long menuId;

    private String formName;

    private String formId;

    private String logo;

    private String processDefinitionId;

    public void setTemplateId(String templateId)
    {
        this.templateId = templateId;
    }

    public String getTemplateId()
    {
        return templateId;
    }
    public void setTemplateName(String templateName)
    {
        this.templateName = templateName;
    }

    public String getTemplateName()
    {
        return templateName;
    }
    public void setSettings(String settings)
    {
        this.settings = settings;
    }

    public String getSettings()
    {
        return settings;
    }
    public void setFormItems(String formItems)
    {
        this.formItems = formItems;
    }

    public String getFormItems()
    {
        return formItems;
    }
    public void setProcess(String process)
    {
        this.process = process;
    }

    public String getProcess()
    {
        return process;
    }
    public void setIcon(String icon)
    {
        this.icon = icon;
    }

    public String getIcon()
    {
        return icon;
    }
    public void setBackground(String background)
    {
        this.background = background;
    }

    public String getBackground()
    {
        return background;
    }
    public void setNotify(String notify)
    {
        this.notify = notify;
    }

    public String getNotify()
    {
        return notify;
    }
    public void setWhoCommit(String whoCommit)
    {
        this.whoCommit = whoCommit;
    }

    public String getWhoCommit()
    {
        return whoCommit;
    }
    public void setWhoEdit(String whoEdit)
    {
        this.whoEdit = whoEdit;
    }

    public String getWhoEdit()
    {
        return whoEdit;
    }
    public void setWhoExport(String whoExport)
    {
        this.whoExport = whoExport;
    }

    public String getWhoExport()
    {
        return whoExport;
    }
    public void setGroupId(Long groupId)
    {
        this.groupId = groupId;
    }

    public Long getGroupId()
    {
        return groupId;
    }
    public void setIsStop(String isStop)
    {
        this.isStop = isStop;
    }

    public String getIsStop()
    {
        return isStop;
    }
    public void setDelFlag(String delFlag)
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag()
    {
        return delFlag;
    }

    public String getFormName() {
        return formName;
    }

    public void setFormName(String formName) {
        this.formName = formName;
    }

    public String getFormId() {
        return formId;
    }

    public void setFormId(String formId) {
        this.formId = formId;
    }

    public String getTimeLimit() {
        return timeLimit;
    }

    public void setTimeLimit(String timeLimit) {
        this.timeLimit = timeLimit;
    }

    public String getLogo() {
        return logo;
    }

    public void setLogo(String logo) {
        this.logo = logo;
    }

    public String getProcessDefinitionId() {
        return processDefinitionId;
    }

    public void setProcessDefinitionId(String processDefinitionId) {
        this.processDefinitionId = processDefinitionId;
    }

    public Long getTimeOutMsg() {
        return timeOutMsg;
    }

    public void setTimeOutMsg(Long timeOutMsg) {
        this.timeOutMsg = timeOutMsg;
    }

    public Long getRefusalMsg() {
        return refusalMsg;
    }

    public void setRefusalMsg(Long refusalMsg) {
        this.refusalMsg = refusalMsg;
    }

    public Long getRepealMsg() {
        return repealMsg;
    }

    public void setRepealMsg(Long repealMsg) {
        this.repealMsg = repealMsg;
    }

    public Long getStartMsg() {
        return startMsg;
    }

    public void setStartMsg(Long startMsg) {
        this.startMsg = startMsg;
    }

    public Long getEndMsg() {
        return endMsg;
    }

    public void setEndMsg(Long endMsg) {
        this.endMsg = endMsg;
    }

    public Long getPassRepealMsg() {
        return passRepealMsg;
    }

    public void setPassRepealMsg(Long passRepealMsg) {
        this.passRepealMsg = passRepealMsg;
    }

    public Long getMenuId() {
        return menuId;
    }

    public void setMenuId(Long menuId) {
        this.menuId = menuId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("templateId", getTemplateId())
            .append("templateName", getTemplateName())
            .append("settings", getSettings())
            .append("formItems", getFormItems())
            .append("process", getProcess())
            .append("icon", getIcon())
            .append("background", getBackground())
            .append("notify", getNotify())
            .append("whoCommit", getWhoCommit())
            .append("whoEdit", getWhoEdit())
            .append("whoExport", getWhoExport())
            .append("remark", getRemark())
            .append("groupId", getGroupId())
            .append("isStop", getIsStop())
            .append("delFlag", getDelFlag())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
